import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import axios from 'axios'

// Button 按钮
import { Button } from 'vant';
Vue.use(Button);
// Cell 单元格
import { Cell, CellGroup } from 'vant';
Vue.use(Cell);
Vue.use(CellGroup);
// Tabbar 标签栏
import { Tabbar, TabbarItem } from 'vant';
Vue.use(Tabbar);
Vue.use(TabbarItem);

// NavBar 导航栏
import { NavBar } from 'vant';
Vue.use(NavBar);
// Search 搜索
import { Search } from 'vant';
Vue.use(Search);
// Swipe 轮播
import { Swipe, SwipeItem } from 'vant';
Vue.use(Swipe);
Vue.use(SwipeItem);
// 图片
import { Image as VanImage } from 'vant';
Vue.use(VanImage);
// 懒加载
import { Lazyload } from 'vant';
Vue.use(Lazyload);
// 宫格
import { Grid, GridItem } from 'vant';
Vue.use(Grid);
Vue.use(GridItem);
// 图标
import { Icon } from 'vant';
Vue.use(Icon);
// Layout 布局
import { Col, Row } from 'vant';
Vue.use(Col);
Vue.use(Row);

import { Card } from 'vant';
Vue.use(Card);

import { Panel } from 'vant';
Vue.use(Panel);

import { Divider } from 'vant';
Vue.use(Divider);

import { Toast } from 'vant';
Vue.use(Toast);
// SubmitBar 提交订单栏
import { SubmitBar } from 'vant';
Vue.use(SubmitBar);
// 步进器
import { Stepper } from 'vant';
Vue.use(Stepper);
// SwipeCell 滑动单元格
import { SwipeCell } from 'vant';
Vue.use(SwipeCell);
// Popup 弹出层
import { Popup } from 'vant';
Vue.use(Popup);
// 商品导航
import { GoodsAction, GoodsActionIcon, GoodsActionButton } from 'vant';
Vue.use(GoodsAction);
Vue.use(GoodsActionButton);
Vue.use(GoodsActionIcon);
// ActionSheet 动作面板
import { ActionSheet } from 'vant';
Vue.use(ActionSheet);
// 地址组件 
import { AddressList } from 'vant';
Vue.use(AddressList);
import { AddressEdit } from 'vant';
Vue.use(AddressEdit);
// ShareSheet 分享面板
import { ShareSheet } from 'vant';
Vue.use(ShareSheet);
// 骨架屏幕
import { Skeleton } from 'vant';
Vue.use(Skeleton);
// DropdownMenu 下拉菜单
import { DropdownMenu, DropdownItem } from 'vant';
Vue.use(DropdownMenu);
Vue.use(DropdownItem);
// Field 输入框
import { Field } from 'vant';
Vue.use(Field);
// Form 表单
import { Form } from 'vant';
Vue.use(Form);





Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
